<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../../print.css" type="text/css" media="print">
<meta content="Triangle3D,org.papervision3d.core.geom.renderables.Triangle3D,_materialName,_uvArray,faceNormal,id,material,renderCommand,screenZ,uv0,uv1,uv2,v0,v1,v2,vertices,visible,uv,createNormal,getRenderListItem,reset,updateVertices" name="keywords">
<title>org.papervision3d.core.geom.renderables.Triangle3D</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'Triangle3D - Papervision3D 官方文档';
				var baseRef = '../../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Papervision3D 官方文档</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../package-summary.html">全部包</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../class-summary.html">全部类</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../index-list.html')" href="../../../../../all-index-A.html">引索</a>&nbsp;|&nbsp;<a href="../../../../../index.html?org/papervision3d/core/geom/renderables/Triangle3D.html&amp;org/papervision3d/core/geom/renderables/class-list.html" id="framesLink1">框架</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">无框架</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">类&nbsp;Triangle3D</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">属性</a>&nbsp;| <a href="#methodSummary">方法</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("类 Triangle3D"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">包</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">org.papervision3d.core.geom.renderables</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">类</td><td class="classSignature">public class Triangle3D</td>
</tr>
<tr>
<td class="classHeaderTableLabel">继承</td><td class="inheritanceList">Triangle3D <img class="inheritArrow" alt="继承" title="继承" src="../../../../../images/inherit-arrow.gif"> <a href="AbstractRenderable.html">AbstractRenderable</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">实现</td><td><a href="IRenderable.html">IRenderable</a></td>
</tr>
</table>
<p></p>
 The Face3D class lets you render linear textured triangles. It also supports solid colour fill and hairline outlines.
  <p>允许渲染线性纹理的三角面，也支持纯色填充与极细的外轮廓描边</p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">公共属性</div>
<div class="showHideLinks">
<div class="hideInheritedProperty" id="hideInheritedProperty">
<a onclick="javascript:setInheritedVisible(false,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../../images/expanded.gif" class="showHideLinkImage"> 隐藏继承的公共属性</a>
</div>
<div class="showInheritedProperty" id="showInheritedProperty">
<a onclick="javascript:setInheritedVisible(true,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../../images/collapsed.gif" class="showHideLinkImage"> 显示继承的公共属性</a>
</div>
</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">属性</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#faceNormal">faceNormal</a> : <a href="../../math/Number3D.html">Number3D</a>
<div class="summaryTableDescription">
   The face normal
   面片法线方向</div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#id">id</a> : Number<div class="summaryTableDescription">
  [只读] Unique id of this instance.实例的唯一id</div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="AbstractRenderable.html#instance">instance</a> : <a href="../../../objects/DisplayObject3D.html">DisplayObject3D</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="AbstractRenderable.html">AbstractRenderable</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td>
<td class="summaryTableSignatureCol"><a class="signatureLink" href="#material">material</a> : <a href="../../proto/MaterialObject3D.html">MaterialObject3D</a>材质
  <div class="summaryTableDescription">
   The transformed Face3DInstance
   </div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td>
<td class="summaryTableSignatureCol"><a class="signatureLink" href="#_materialName">_materialName</a> : String材质名称
  <div class="summaryTableDescription">
  A material id TODO
  </div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#renderCommand">renderCommand</a> : <a href="../../render/command/RenderTriangle.html">RenderTriangle</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#screenZ">screenZ</a> : Number<div class="summaryTableDescription">
  [只读] The average depth (z coordinate) of the transformed triangle.三角面的平均z深度</div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="AbstractRenderable.html#_userData">_userData</a> : <a href="../../data/UserData.html">UserData</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="AbstractRenderable.html">AbstractRenderable</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="AbstractRenderable.html#userData">userData</a> : <a href="../../data/UserData.html">UserData</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol"><a href="AbstractRenderable.html">AbstractRenderable</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#uv">uv</a> : Array<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#uv0">uv0</a> : <a href="../../math/NumberUV.html">NumberUV</a>
<div class="summaryTableDescription">
  A MaterialObject3D object that contains the material properties of the back of a single sided triangle.单面三角面背面的材质属性</div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#uv1">uv1</a> : <a href="../../math/NumberUV.html">NumberUV</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#uv2">uv2</a> : <a href="../../math/NumberUV.html">NumberUV</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_uvArray">_uvArray</a> : Array<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#v0">v0</a> : <a href="../renderables/Vertex3D.html">Vertex3D</a>
<div class="summaryTableDescription">
   Used to store references to the vertices.用来储存顶点基准</div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#v1">v1</a> : <a href="../renderables/Vertex3D.html">Vertex3D</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#v2">v2</a> : <a href="../renderables/Vertex3D.html">Vertex3D</a>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#vertices">vertices</a> : Array<div class="summaryTableDescription">
  An array of Vertex3D objects for the three vertices of the triangle.储存三角面三个顶点的Vertex3D对象数组</div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#visible">visible</a> : Boolean<div class="summaryTableDescription">
  [只读] A Boolean value that indicates that the face is visible, i.e.决定面片可见性的布尔值</div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">公共方法</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">方法</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#Triangle3D()">Triangle3D</a>(do3dInstance:<a href="../../../objects/DisplayObject3D.html">DisplayObject3D</a>, vertices:Array, material:<a href="../../proto/MaterialObject3D.html">MaterialObject3D</a> = null, uv:Array = null)</div>
<div class="summaryTableDescription">
  The Face3D constructor lets you create linear textured or solid colour triangles.Face3D创建器，创建带有线性纹理或者纯色的三角面。</div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#createNormal()">createNormal</a>():void</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getRenderListItem()">getRenderListItem</a>():<a href="../../render/command/IRenderListItem.html">IRenderListItem</a>
</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#reset()">reset</a>(object:<a href="../../../objects/DisplayObject3D.html">DisplayObject3D</a>, vertices:Array, material:<a href="../../proto/MaterialObject3D.html">MaterialObject3D</a>, uv:Array):void</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#updateVertices()">updateVertices</a>():void</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">Triangle3D</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">属性详细信息</div>
<a name="faceNormal"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">faceNormal</td><td class="detailHeaderType">属性</td>
</tr>
</table>
<div class="detailBody">
<code>public var faceNormal:<a href="../../math/Number3D.html">Number3D</a></code>
<p>
   The face normal
   面片发线</p></div>
<a name="id"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">id</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var id:Number</code>
<p>
  [只读] Unique id of this instance.
  实例的唯一id</p></div>
<a name="material"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">material</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var material:<a href="../../proto/MaterialObject3D.html">MaterialObject3D</a></code>
<p>
   The transformed Face3DInstance
   </p></div>
<a name="_materialName"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_materialName</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var _materialName:String</code>
<p>
  A material id TODO
  材质名称</p></div>
<a name="renderCommand"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">renderCommand</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var renderCommand:<a href="../../render/command/RenderTriangle.html">RenderTriangle</a></code>
</div>
<a name="screenZ"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">screenZ</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var screenZ:Number</code><p>
  [只读] The average depth (z coordinate) of the transformed triangle. Also known as the distance from the camera. Used internally for z-sorting.
  </p>
<p>三角面平均的z深度，也被称作到摄影机的距离，业内一般叫做z-sorting（z排序）</p>
</div>
<a name="uv"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">uv</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>uv:Array</code>&nbsp;&nbsp;[读写]<p></p><span class="label">实现</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get uv():Array</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set uv(value:Array):void</code>
<br>
</div>
<a name="uv0"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">uv0</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var uv0:<a href="../../math/NumberUV.html">NumberUV</a></code>
<p>
  A MaterialObject3D object that contains the material properties of the back of a single sided triangle.
  储存单面三角面背面的材质信息的MaterialObject3D对象</p></div>
<a name="uv1"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">uv1</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var uv1:<a href="../../math/NumberUV.html">NumberUV</a></code>
</div>
<a name="uv2"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">uv2</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var uv2:<a href="../../math/NumberUV.html">NumberUV</a></code>
</div>
<a name="_uvArray"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_uvArray</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var _uvArray:Array</code>
</div>
<a name="v0"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">v0</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var v0:<a href="../renderables/Vertex3D.html">Vertex3D</a></code>
<p>
   Used to store references to the vertices.用来储存顶点基准<a name="v1"></a>
</p></div><table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">v1</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var v1:<a href="../renderables/Vertex3D.html">Vertex3D</a></code>
</div>
<a name="v2"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">v2</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var v2:<a href="../renderables/Vertex3D.html">Vertex3D</a></code>
</div>
<a name="vertices"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">vertices</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var vertices:Array</code>
<p>
  An array of Vertex3D objects for the three vertices of the triangle.
  三角面三个顶点所对应的Vertex3D对象组成的数组</p></div>
<a name="visible"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">visible</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var visible:Boolean</code>
<p>
  [只读] A Boolean value that indicates that the face is visible, i.e. it's vertices are in front of the camera.
  决定在摄影机前方的面片的可见性</p></div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">构造函数详细信息</div>
<a name="Triangle3D()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">Triangle3D</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">构造函数</td>
</tr>
</table>
<div class="detailBody">
<code>public function Triangle3D(do3dInstance:<a href="../../../objects/DisplayObject3D.html">DisplayObject3D</a>, vertices:Array, material:<a href="../../proto/MaterialObject3D.html">MaterialObject3D</a> = null, uv:Array = null)</code><p>
  The Face3D constructor lets you create linear textured or solid colour triangles.
    <span class="summaryTableDescription">Face3D创建器，创建带有线性纹理或者纯色的三角面。</span></p>
<span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td>
<td width="1554"><code><span class="label">do3dInstance</span>:<a href="../../../objects/DisplayObject3D.html">DisplayObject3D</a></code> &mdash; An array of Vertex3D objects for the three vertices of the triangle.
  与三角面三个顶点一一对应的Vertex3D对象所构成的数组</td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20"></td>
<td><code><span class="label">vertices</span>:Array</code> &mdash; A MaterialObject3D object that contains the material properties of the triangle.
  包含三角面材质信息的MaterialObject3D对象</td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20"></td>
<td><code><span class="label">material</span>:<a href="../../proto/MaterialObject3D.html">MaterialObject3D</a></code> (default = <code>null</code>)<code></code> &mdash;   An array of {x,y} objects for the corresponding UV pixel coordinates of each triangle vertex.
  一个由{x，y}对象构成的数组，用来对应每一个三角面的顶点的uv像素坐标</td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20"></td><td><code><span class="label">uv</span>:Array</code> (default = <code>null</code>)<code></code></td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">方法详细信息</div>
<a name="createNormal()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">createNormal</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td>
</tr>
</table>
<div class="detailBody">
<code>public function createNormal():void</code>
</div>
<a name="getRenderListItem()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getRenderListItem</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function getRenderListItem():<a href="../../render/command/IRenderListItem.html">IRenderListItem</a></code>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../../render/command/IRenderListItem.html">IRenderListItem</a></code></td>
</tr>
</table>
</div>
<a name="reset()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">reset</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function reset(object:<a href="../../../objects/DisplayObject3D.html">DisplayObject3D</a>, vertices:Array, material:<a href="../../proto/MaterialObject3D.html">MaterialObject3D</a>, uv:Array):void</code><p></p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">object</span>:<a href="../../../objects/DisplayObject3D.html">DisplayObject3D</a></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">vertices</span>:Array</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">material</span>:<a href="../../proto/MaterialObject3D.html">MaterialObject3D</a></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">uv</span>:Array</code></td>
</tr>
</table>
</div>
<a name="updateVertices()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">updateVertices</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function updateVertices():void</code>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">http://blog.papervision3d.org</center>
</div>
</body>
</html>
<!--http://blog.papervision3d.org-->
